<?php
define('BOOTSTRAP', true);

// Error reporting
error_reporting(E_ALL | E_STRICT);  
ini_set('display_startup_errors', 1);  
ini_set('display_errors', 1); 

$base      = realpath(dirname(__FILE__) . '/../');
$paths     = array(
    '.', 
    $base . '/application/models',
    $base . '/library',
    $base . '/application/backend/models',
);
ini_set('include_path', implode(PATH_SEPARATOR, $paths));

include dirname(__FILE__) . '/../application/bootstrap.php';

$main = new Main();
$main->run();